package com.taotie.thetoolofgluttony.common;

import java.io.File;

import net.minecraftforge.fml.common.event.FMLInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPostInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;

public class CommonProxy {
	public static File path;

	public void preInit(FMLPreInitializationEvent event) {
		path = new File(event.getModConfigurationDirectory().getParentFile().getAbsoluteFile() + "/structure");
		path.mkdirs();
		ModConfig.ConfigSyncHandler.event1 = event;
		ConfigL.updata(event);
	}

	public void init(FMLInitializationEvent event) {
		new EventLoader();
	}

	public void postInit(FMLPostInitializationEvent event) {

	}
}
